<cfapplication name="myApp" sessionmanagement="yes">
<cflock scope="Session" type="Exclusive" timeout="20">
	<cfif IsDefined("Session.firmado")>
		<cfloop collection=#session# item="i">
			<cfset StructDelete(Session,i)>
        </cfloop>
		<cflogout>
	<cfelse>
		<cflocation url="index.htm">
	</cfif>
</cflock>
                <cfheader statuscode="301" statustext="Moved permanently">
				<cfheader name="Location" value="index.cfm">         